Jump To:
Technical Q&As are short question and answer formatted pages that provide answers to questions frequently received at Apple Developer Technical Support.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Date
Drag Manager: Promising and Tracking (HTML) ()
TB43: Explains why you cannot always obtain the promised flavor data in your drag tracking handler.
Carbon 1998-12-22
Drawing a Path Multiple Times (HTML)
QA1047: Explains that path drawing operations consume the path.
Carbon 2001-07-02
Dynamically registering a bundled component (HTML)
QA1083: Describes how to dynamically register a Component which resides in an Application bundle.
Carbon 2004-06-07
Ejecting the Volume on Which Your Program Resides (HTML) ()
FL09: Suggests different solutions regarding ejecting a disk on which an application resides.
Carbon 1998-07-06
Empty Memory Objects (HTML) ()
QA1259: Describes how two memory management edge cases are handled by the common Mac OS memory allocators.
Carbon 2003-04-21
Enabling the application menu's "Preferences..." menu item on Mac OS X (HTML)
QA1079: Explains how to enable the application menu's "Preferences..." menu item on Mac OS X.
Carbon 2001-10-30
Enabling the Navigation Services default behavior in its dialogs (HTML)
QA1384: Explains how to enable the default behavior of the Navigation Services dialogs.
Carbon 2004-10-15
Environment Variables (HTML)
QA1255: Describes how a process gets its environment variables.
Carbon 2003-10-29
Error -151 and NewGWorld (HTML)
Deprecated - QD18: Explains what the error code -151 means when in NewGWorld.
Carbon 1995-09-15
Error -3168 (kOTStateChangeErr) and Handoff Endpoints (HTML) ()
Deprecated - NW22: Explains why a kOTStateChangeErr -3168 occurs when there is a handoff endpoint involved.
Carbon 1996-04-08
Expanding the Set of Menu Item Modifier Keys (HTML) ()
TB53: Explains how to use the shift and option keys with the menu command keys.
Carbon 1998-12-22
Extracting DV Fields using QTNewGWorldFromPtr (HTML)
QA1017: Describes using QTNewGWorldFromPtr to access individual fields contained within a frame of DV source.
Carbon 2001-03-20
fBroadCastAddr Always Zero (HTML) ()
Deprecated - NW58: Explains why the fBroadcastAddr field may be zero after a call to OTInetGetInterfaceInfo and includes the workaround.
Carbon 1999-03-08
File Manager Text Encoding Hints (HTML) ()
QA1223: How to use Text Encoding Hints.
Carbon 2003-01-20
Filtering QuickTime media types in Navigation Services (HTML) ()
QA1274: Describes how to filter QuickTime media types in a Navigation Services filter procedure.
Carbon 2003-07-23
Finding Missing OpenGL CFM Entry Points (HTML) ()
QA1225: A resolution to Mac OS X 10.2 OpenGL CFM applications which break under Mac OS X 10.1.
Carbon 2002-12-23
Finding your application's directory (HTML)
FL14: Demonstrates finding your application's directory and setting it as the default directory.
Carbon 2000-06-19
Fixing the Layout Binding of the Tab control User Panes (HTML)
QA1161: Describes the Tab control hierarchy and layouts of its panes and provides a fix to a common problem.
Carbon 2004-10-14
FSSetCatalogInfo versus UID and GID (HTML) ()
QA1251: Describes why FSSetCatalogInfo does not set the UID and GID of the file, and provides a work around.
Carbon 2003-03-26
GetPortBitMapForCopyBits (HTML) ()
Deprecated - QD61: Describes the proper usage of GetPortBitMapForCopyBits.
Carbon 2000-11-08
GetProcAdress and OpenGL Entry Points (HTML) ()
QA1188: Technique for finding function pointers for OpenGL entry points in Cocoa and Carbon
Carbon 2002-11-25
Getting a Packet Trace (HTML) ()
QA1176: Lists tools available for looking at the network packets on the wire.
Carbon 2004-07-13
Getting the User and Computer Name (HTML)
QA1078: Describes how to get the user and computer name on Mac OS X.
Carbon 2001-10-30
grayishTextOr and Mac OS 8.5 (HTML) ()
Deprecated - QD59: Explains why text drawn using TextMode(grayishTextOr) is never drawn; provides a workaround.
Carbon 1998-12-07
HID Manager Event Data Underruns (HTML)
QA1038: Explains how to correctly handle HID Manager event queue data underruns.
Carbon 2001-06-13
HIObjectRegisterSubclass returns paramErr (HTML) ()
QA1213: Explains in which case HIObjectRegisterSubclass would return paramErr and gives a work around.
Carbon 2002-11-12
How can I programmatically determine the DPI of the current video mode? (HTML) ()
QA1217: Describes how to compute the DPI for a given display in a given mode using Core Graphics.
Carbon 2002-12-02
How can I set the default location with the modern Navigation APIs NavCreatexxx? (HTML) ()
QA1151: Explains how to set the default location with a NavCustomControl call using the kNavCtlSetLocation message in the Event Proc.
Carbon 2002-07-01
How do I tell if a particular display is being hardware accelerated by Quartz Extreme? (HTML) ()
QA1218: Describes how to use CGDisplayUsesOpenGLAcceleration to see if a display is accelerated or not.
Carbon 2002-12-04
How do I use kMPCreateTaskSuspendedMask with MPCreateTask? (HTML)
QA1055: Describes how to start a task that has been suspended with the ability to resume it later.
Carbon 2001-07-02
How do I use PMSessionGetGraphicsContext to get a CGContextRef? (HTML) ()
QA1216: Describes how to use PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext to get a CGContextRef for printing.
Carbon 2003-02-25
How do I use QuickDraw with CGDirectDisplay? (HTML)
QA1011: Explains how to draw to a CGDirectDisplay-captured display using QuickDraw.
Carbon 2001-04-11
How PBDTGetAPPL Chooses Which Copy of an App to Launch (HTML) ()
Deprecated - TB19: Explains how PBDTGetAppl() chooses which application copy to launch, and how to deal with the trash.
Carbon 1996-05-14
How to define a plst resource in a .r file (HTML)
QA1034: Describes how to include a .plist file in a .r file.
Carbon 2001-05-09
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Carbon 2001-07-02
How to use the OT modem script engine (HTML) ()
Deprecated - NW50: Shows how to use the Open Transport modem script engine.
Carbon 1997-07-11
How to use URL Access with proxy servers (HTML)
Deprecated - QA1074: Explains how to use URL Access with proxy servers.
Carbon 2001-10-02
ICLaunchURL, "file:///" URLs and Mac OS X (HTML)
QA1028: Describes problems with ICLaunchURL and "file:///" URLs on Mac OS X.
Carbon 2001-04-20
Improving ATSUI Text Drawing Performance (HTML)
QA1027: Talks about one way of improving ATSUI text drawing performance.
Carbon 2001-04-17
Incorrect Inside Macintosh Volume V documentation (HTML)
Deprecated - QD15: Identifies incorrect documentation in Inside Macintosh Volume V regarding the formats of PnPixPat and BkPixPat opcodes.
Carbon 1995-09-15
The Initialize Method of Multi-fragment Contextual Menu Plug-ins (HTML) ()
TB60: Explains how to deal with multiple Contextual Menu plug-ins code fragments.
Carbon 1999-04-05
Installing input methods on Mac OS X (HTML)
QA1054: Describes how to install and use input methods on Mac OS X.
Carbon 2001-09-14
The intermittent behavior of SetDialogItemText (HTML)
Deprecated - QA1082: Explains why SetDialogItemText may seem to not work correctly if you have embedding turned on.
Carbon 2001-10-30
Internet Connect Speed (HTML) ()
QA1165: Describes how to get the modem connection speed from the System Configuration framework dynamic store.
Carbon 2003-03-26
Is ColorSync thread safe? (HTML) ()
QA1261: Discusses ColorSync thread-safety issues.
Carbon 2003-04-17
Is QuickTime thread-safe? (HTML)
QA1088: Discusses thread-safety and reentrancy of the QuickTime library on both Mac & Windows.
Carbon 2001-11-01
IsCmdChar (HTML) ()
TX12: Describes the routine IsCmdChar, which is useful when testing for Command-period and command-AnyCharacter.
Carbon 1998-07-06
Loading Scripting Additions without initializing AppleScript in Mac OS X (HTML)
QA1070: Explains how to load scripting additions so you can call them using Apple events.
Carbon 2001-09-13
Locating a Font's Home File (HTML) ()
Deprecated - TB18: Lists the steps necessary to find the home file of a given font.
Carbon 1996-02-15
Locking an Area Using PBLockRange (HTML) ()
OPS09: Describes the behavior of PBLockRange.
Carbon 1996-05-14
LockPixels and DisposeGWorld with QTNewGWorldFromPtr (HTML)
QA1007: Clarifies some issues surrounding pointer ownership when creating GWorlds with QTNewGWorldFromPtr
Carbon 2001-02-26
MACE Restrictions (HTML) ()
Deprecated - SND16: MACE algorithms only support the compression of 8-bit offset binary sound.
Carbon 1999-06-08
Making Input Gain Setting Changes (HTML) ()
Deprecated - SND01: Changing the input gain setting on older Power Macs before recording.
Carbon 1996-06-01
Managing custom drawing code in a compositing world (HTML)
QA1162: Explains why any custom drawing code must be handled by the kEventControlDraw handler of a custom HIView
Carbon 2004-10-14
Menus & Hardware Accelerated OpenGL under Mac OS 9 Carbon (HTML)
QA1042: Explains how to handle correctly Mac OS 9 menus when there is hardware accelerated OpenGL blitting.
Carbon 2001-07-10
Movies - Saving movie playback hints (HTML)
QA1366: Explains how to save and load media play hints from Movie files.
Carbon 2004-09-14
Moving the Menu Bar (HTML) ()
Deprecated - TB54: Describes how to move the menubar to another Macintosh Display and why this move is unadvisable.
Carbon 1998-12-22
MPRemoteCall Contexts (HTML) ()
QA1122: Describes two recently introduced options for the context parameter of MPRemoteCall.
Carbon 2002-02-18
Multiple Resources with the Same Type and ID (HTML) ()
TB30: Explains why Resource IDs should be unique within a given resource type within a given resource file.
Carbon 1996-11-27
My custom item dismisses my Navigation Services dialog (HTML)
QA1381: Gives a workaround for dismissive clicks on items in the custom area of Navigation Services dialogs.
Carbon 2004-11-22
My ListBox control works fine on Mac OS X but I get a crash on Mac OS 9 when I click in the scrollbar (HTML) ()
QA1156: Explains the requirements for the use of the Listbox Control on Mac OS 9 and Mac OS X.
Carbon 2002-07-12
Non Mac OS X Bundled data-fork based Resources (HTML) ()
QA1098: Mac OS X Bundled data-fork based Resources
Carbon 2003-08-20
Notifying the Finder of changed or newly created files (HTML) ()
QA1260: Recommended approach to notifying the Finder to update its open windows of a file creation or change.
Carbon 2003-04-15
NSL and how it relates to Rendezvous (HTML)
QA1299: Explains the relationship between NSL and Rendezvous.
Carbon 2003-09-18
Numerous Small Packet Exchanges Resultin Poor TCP Performance (HTML) ()
NW26: Explains why numerous small package exchanges result in poor TCP performance.
Carbon 1998-05-25
Open File Limits on Mac OS X (HTML) ()
QA1005: Explains how many files an application can open simultaneously in Mac OS X.
Carbon 2001-02-08
Open Transport Error -3208: kEBADFErr (HTML) ()
NW21: Explains why a call to OTSnd may result in a kEBADFErr -3208.
Carbon 1996-03-04
Open Transport Errors -3151/-3160 and Option Management (HTML) ()
NW54: Gives possible causes of errors -3151 and -3160 when making an OptionManagement call to set an endpoint.
Carbon 1998-04-12
Open Transport Libraries (HTML) ()
NW18: Lists the Open Transport libraries and what to link with for PowerPC and 68K.
Carbon 2000-11-03
Open Transport Versions (HTML)
NW64: Lists the current versions of Open Transport and their features.
Carbon 2000-05-08
OpenGL Sample Code (HTML)
QA1166: Describes new naming convention for OpenGL sample code
Carbon 2004-12-01
OpenGL Texture Sharing Between Contexts (HTML)
QA1031: Describes the process of creating shared OpenGL contexts and sharing textures between these contexts.
Carbon 2001-05-01
OTScheduleDeferredTask When Task Running (HTML) ()
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Carbon 1997-10-13
OTScheduleSystemTask Cleanup (HTML) ()
Deprecated - NW37: States the proper way to clean up any pending system tasks scheduled with OTScheduleSystemTask.
Carbon 1996-07-03
Parsing the PICT File Format (HTML) ()
Deprecated - QD56: Explains where to find information on the PICT file format and warns against parsing a PICT file.
Carbon 1998-02-10
PBLockRange with a zero-length range (HTML)
FL13: Describes the afpRangeOverlap error and a work around.
Carbon 1999-11-22
Pop-up Menu CDEFs: The Real Story (HTML) ()
TB42: Explains why you should never allow the pop-up menu CDEFs to create a menu for you.
Carbon 1998-07-30
Power Management; Policy Maker vs. Power Controller (HTML) ()
QA1121: Describes the differences between a Power Management Policy Maker and a Power Management Power Controller.
Carbon 2002-02-13
PPPoE Server for Testing (HTML) ()
QA1252: Describes how to configure Mac OS X as a PPPoE server for testing purposes.
Carbon 2003-04-11
Preserving embedded ICC profiles when using QuickTime Graphics Importer/Exporters (HTML) ()
QA1145: Shows how to preserve the embedded ICC profile when using the QuickTime Graphics Importer/Exporter routines
Carbon 2002-09-04
Preventing sleep (HTML)
QA1160: Explains how your application can prevent the system from sleeping.
Carbon 2004-10-22
Printer Queue vs. Printer Name (HTML)
QA1407: Explains the difference between a printer queue and a printer name.
Carbon 2005-01-27
Private HITheme APIs in Mac OS X 10.2 should not be called (HTML)
QA1377: Explains why weak-linked API common runtime check is not good enough for the HITheme APIs.
Carbon 2004-10-27
Problem Getting PICTS to Display in Correct Colors (HTML)
Deprecated - QD24: Using a custom color table to get PICTs to display with the right colors in an offscreen GWorld.
Carbon 1995-09-15
Problem with PaintRgn on 256-color Screens (HTML)
Deprecated - QD23: PaintRgn with RGBForeColor and transfer mode addOver doesn't return color to original on 256-color-screens.
Carbon 1995-09-15
Problems Creating a Mask for a Picture (HTML)
Deprecated - QD27: Demonstrates creating a mask where the mask is 0 for pure white pixels and 1 everywhere else.
Carbon 1995-09-15
Problems recording CopyBits into a PICT on Mac OS X 10.2 (HTML) ()
QA1189: Identifies a problem with CopyBits and PICT on Mac OS X 10.2 and gives a simple workaround.
Carbon 2002-11-19
Process Carbon Events Not Delivered in 10.2 (HTML) ()
QA1181: Work around for a bug in Mac OS X 10.2 that prevents the delivery of process Carbon events.
Carbon 2002-08-27
Programmatically causing restart, shutdown and/or logout (HTML) ()
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Carbon 2003-02-10
QDFlushPortBuffer (HTML) ()
QD65: Describes a possible solution for window update problems under Carbon.
Carbon 2000-11-08
QDSwapPort (HTML) ()
QA1128: Explains when to use QDSwapPort.
Carbon 2002-11-06
Quartz 2D Interpolation (HTML) ()
QA1186: Explains how to control Quartz 2D's image interpolation.
Carbon 2002-10-29
Quartz 2D Thread Safety (HTML) ()
QA1238: Explains the thread-safety issues for the Quartz 2D API.
Carbon 2003-02-25
QuickDraw Text Anti-Aliasing using Quartz 2D (HTML) ()
QA1193: Describes APIs added to Mac OS X to allow applications to draw QD text using CG anti-aliasing.
Carbon 2002-10-29
QuickTime and Carbon Events (HTML)
QA1090: Discusses how to ensure smooth movie playback when using Carbon Events in an application.
Carbon 2001-10-26
Raw IP and Open Transport 2.5.x (HTML)
Deprecated - NW63: Discusses Open Transport 2.5's change to the behavior of raw IP endpoints with IP_HDRINCL set.
Carbon 1999-10-25
Receiving UDP Broadcasts (HTML) ()
Deprecated - NW53: Explains why UDP endpoints may never receive UDP broadcast messages.
Carbon 1997-11-17
Recording Compressed Sounds (HTML) ()
Deprecated - SND14: Sound Manager and sound input driver compression options are limited to allow interrupt time recording.
Carbon 1998-04-12
Registering a Rendezvous service multiple times (HTML)
QA1311: Explains why registering the same Rendezvous service twice on the same machine doesn't cause a name conflict.
Carbon 2003-10-23
Registering for sleep notifications (HTML)
QA1340: Explains how register for sleep notifcations on Mac OS X.
Carbon 2004-10-25